```js
// Button.stories.js

import Button from './Button.vue';

export default {
  title: 'Button',
  component: Button,
  //👇 Creates specific argTypes
  argTypes: {
    backgroundColor: { control: 'color' },
  },
};

//👇 Some function to demonstrate the behavior
const someFunction = (someValue) => {
  return `i am a ${someValue}`;
};

export const ExampleStory = (args, { argTypes }) => {
  //👇 Destructure the label from the args object
  const oldArgs = args;
  const { label } = oldArgs;

  //👇 Assigns the function result to a variable and pass it as a prop into the component
  const functionResult = someFunction(label);
  args.label = functionResult;

  return {
    props: Object.keys(argTypes),
    components: { Button },
    template: '<Button v-bind="$props" />',
  };
};
ExampleStory.args = {
  primary: true,
  size: 'small',
  label: 'button',
};
```